<template>
    <div class="report_div">
      <div class="head_text">
        <span class="iconfont icon-jiantou1" style="cursor: pointer;" @click="CloseDiv"></span><h2>儿童健康成长报告</h2>
        <span style="font-size:14px;">2022.03.01--2022.04.05</span>
      </div>
      <div class="report_context">
         <div class="bag_wight">      
           <div class="head_tip">背包负重</div>
           <div class="main_tip">
                <img src="../assets/rep01.png">
                <ul>
                <li><label>超重：</label><samp>30%</samp></li>
                <li><label>平均负重：</label><samp>5.18kg</samp></li>
                <li><label>综合评分：</label><samp style="color:red;font-size:35px;">55分</samp></li>
                </ul>
            </div>
            <div class="bottom_tip">
              <p class="tip_big">严重超重，容易导致不良体态哦</p>
              <p class="tip_small">小贴士：及时整理书哦，用不到的书本可以放在学校或家里</p>
            </div>
         </div>
         <div class="left_right">
            <div class="head_tip">左右肩平衡</div>
            <div class="main_tip">
                 <img src="../assets/rep02.png">
                <ul>
                <li><label>左肩超重：</label><samp>30%</samp></li>
                <li><label>右肩超重：</label><samp>8%</samp></li>
                <li><label>综合评分：</label><samp style="color:yellow;font-size:35px;">55分</samp></li>
                </ul>
            </div>
            <div class="bottom_tip">
              <p class="tip_big">严重超重，容易导致不良体态哦</p>
              <p class="tip_small">小贴士：及时整理书哦，用不到的书本可以放在学校或家里</p>
            </div>
         </div>
         <div class="body_gesture">
            <div class="head_tip">背部姿态</div>
            <div class="main_tip">
                 <img src="../assets/rep03.png">
                <ul>
                <li><label>驼背：</label><samp>14次</samp></li>
                <li><label>综合评分：</label><samp style="color:green;font-size:35px;">55分</samp></li>
                </ul>
            </div>
            <div class="bottom_tip">
              <p class="tip_big">严重超重，容易导致不良体态哦</p>
              <p class="tip_small">小贴士：及时整理书哦，用不到的书本可以放在学校或家里</p>
            </div>
         </div>
      </div>
    </div>
</template>

<script setup>
import VueEvent from '../utils/event';
var msg="close";
const CloseDiv=()=>{
    VueEvent.emit("RightDiv",{msg});
}
</script>

<style>
.head_tip{
  height: 20px;
  font-size: 20px;
  font-weight: 600;
  padding-left: 20px;
  padding-top: 10px;
}
.report_div{
  width: 80%;
  margin-left: 30px;
}

.head_text{
  height: 80px;
  line-height: 80px;
  font-size: 20px;
  color: #d0c1b1;
  width: 380px;
  display:flex;
  flex-direction: row;
  justify-content:space-between;
}


.bag_wight,.left_right,.body_gesture{
  height: 260px;
  width: 400px;
  background-color: #d0c1b1;
  border-radius: 15px;
  margin-bottom: 25px;
  color:#605144;
}
.main_tip{
  height: 175px;
  display: flex;
  flex-direction:row;
}

.main_tip img{
  width: 180px;
  height: 180px;
}

.main_tip ul{
  width: 200px;
  margin-top: 50px;
}

.main_tip label{
  display: inline-block;
  width: 100px;
  text-align: right;
}

.main_tip samp{
   font-size: 25px;
   font-weight: 600;
}

.bottom_tip{
  padding-left: 20px;
}
.tip_big{
   font-size: 16px;
   height: 30px;
   line-height: 30px;
    font-weight: 600;
}

.tip_small{
   font-size: 12px;
}
</style>